projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4854a2
)
(string_to_non_ascii_char): Don't check the arg
author
Kenichi Handa
<handa@m17n.org>
Tue, 2 Jun 1998 08:10:36 +0000
(08:10 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 2 Jun 1998 08:10:36 +0000
(08:10 +0000)
EXCLUDE_TAIL_GARBAGE for an invalid composite characters.
src/charset.c
patch
|
blob
|
history
diff --git
a/src/charset.c
b/src/charset.c
index 29da443505c4e31c788436f8dc6c7abf3a7b7ff2..1902fe8be8c84fb5a47e54243f202d30b37266cc 100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-197,9
+197,11
@@
string_to_non_ascii_char (str, len, actual_len, exclude_tail_garbage)
int cmpchar_id = str_cmpchar_id (str, bytes);
if (cmpchar_id >= 0)
- c = MAKE_COMPOSITE_CHAR (cmpchar_id);
- if (exclude_tail_garbage)
- bytes = cmpchar_table[cmpchar_id]->len;
+ {
+ c = MAKE_COMPOSITE_CHAR (cmpchar_id);
+ if (exclude_tail_garbage)
+ bytes = cmpchar_table[cmpchar_id]->len;
+ }
}
else
{